package com.theunderminejournal.updater.gui.filter;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class MarketDataFileFilter extends FileFilter{

	public boolean accept(File f) {
		
		if(f.getName().equalsIgnoreCase("MarketData.lua") || f.isDirectory()){
			return true;
		}
		
		return false;
	}

	public String getDescription() {
		
		return "MarketData.lua Files Only";
	}

}
